<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>js改lua示例</title>
</head>
<body>
<h2>以“---”开头的表示要删除的<br>
    以“***”开头的表示要修改的，修改后的在下一行以“+++”开头<br>这里只取了部分，类别太多了我不方便统计，按修改规律来就行了</h2><br><br>
---sleep(100);var window = floaty.window(<.frame><.button id="btn" text='暂停'/><./frame>);window.exitOnClose();<br>
---window.btn.click(() => {if (window.btn.getText() != '暂停') {s = 1;window.btn.setText('暂停')} else {s = 0;window.btn.setText('继续')}});<br>
***var s = 1;var time=352;var time1=176;var time2=704;<br>
+++s = 1;time=352;time1=176;time2=704;<br>
---setScreenMetrics(1080, 2340);//默认分辨率，以下按键位置基于此分辨率<br>
---function c4() {press(780,215,1)}<br>
---function d4() {press(975,215,1)}<br>
---function e4() {press(1170,215,1)}<br>
---function f4() {press(1365,215,1)}<br>
---function g4() {press(1560,215,1)}<br>
---function a4() {press(780,410,1)}<br>
---function b4() {press(975,410,1)}<br>
---function c5() {press(1170,410,1)}<br>
---function d5() {press(1365,410,1)}<br>
---function e5() {press(1560,410,1)}<br>
---function f5() {press(780,605,1)}<br>
---function g5() {press(975,605,1)}<br>
---function a5() {press(1170,605,1)}<br>
---function b5() {press(1365,605,1)}<br>
---function c6() {press(1560,605,1)}<br>
---function t1() {sleep(time)}//普通按键间隔-<br>
---function t2() {while (s != 1) {sleep(100)};sleep(time1)}//较短间隔~<br>
---function t3() {while (s != 1) {sleep(100)};sleep(time2)}//较长间隔,<br>
---function t4() {while (s != 1) {sleep(100)};sleep(100)}//自定义间隔*点一下隔100ms<br>
---function t1() {sleep(time)}//普通按键间隔-<br>
---function t2() {sleep(time1)}//较短间隔~<br>
---function t3() {sleep(time2)}//较长间隔,<br>
---function t4() {sleep(100)}//自定义间隔*点一下隔100ms<br>
---function Y100()sleep(100)<br>
---function Y150()sleep(150)<br>
---function Y200()sleep(200)<br>
---function Y250()sleep(250)<br>
---function Y300()sleep(350)<br>
---function Y350()sleep(350)<br>
---function Y400()sleep(400)<br>
---function Y450()sleep(450)<br>
---function Y500()sleep(500)<br>
---function Y550()sleep(550)<br>
---function Y600()sleep(600)<br>
<br><h2>有些脚本是这样的，需要在sleep(数字)后边加end：<br></h2>
function Y1()<br>
***sleep(100)<br>
+++sleep(100)end<br>
<h2>下方的同上，不一个个改了<br></h2>
function Y2()<br>
***sleep(150)<br>
function Y3()<br>
***sleep(200)<br>
function Y4()<br>
***sleep(250)<br>
function Y5()<br>
***sleep(300)<br>
function Y6()<br>
***sleep(350)<br>
function Y7()<br>
***sleep(400)<br>
function Y8()<br>
***sleep(450)<br>
function Y9()<br>
***sleep(500)<br>
function Y0()<br>
***sleep(600)<br>
<br>
***function y(){sleep(600)}//大小隔<br>
+++function y()sleep(600)end<br>
<br>
***function b(){sleep(400)}//小间隔<br>
+++function b()sleep(400)end<br>
<br>
***function s(){sleep(260)}//按键停顿<br>
+++function s()sleep(260)end<br>
<br>
***function c(){sleep(100)}//延音<br>
+++function c()sleep(100)end<br>
<br>
<br>
---toast("作者：妤")<br>
<br>
---toast("未经允许，严禁转载！")<br>
e5();t2();g5();t2();a5();a4();t1();t4();e4();t1();t4();a4();t1();t4();c4();t1();t4();a4();c4();t1();e4();t3();<br><br>
<h2>在音乐主体中有时会出现下边这种，一定要翻看一下<br></h2>
---//第一段<br>
t4();c6();t2();b5();t2();a5();t2();g5();t2();e5();e4();t2();g5();t2();e5();b4();t1();t4();e4();t1();t4();g4();t1();t4();e5();b4();e4();g4();t3();<br>


</body>
</html>